package comkeps.test;

import org.junit.Test;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.ArrayList;

@SpringBootTest
public class othertest {

    @Test
    public void listTest() {
        ArrayList<Integer> list1 = new ArrayList<>();
        ArrayList list2 = null;
        System.out.println(list1 == null ? "l1null" : "l1notnull"); //l1notnull
        System.out.println(list2 == null ? "l2null" : "l2notnull"); //l2null
    }

}
